Action Calculi III : Higher-order Calculi
نویسنده
چکیده
This paper extends an arbitrary action calculus [11] to higher order, in a way which parallels the extension of the -calculus [13] to higher order by Sangiorgi [18]. Action calculi are a subclass of action structures [10], which in turn are an enriched class of monoidal categories. Each action calculus AC(K) is distinguished by its set K of controls and their reaction rules. The notion of action calculus is derived partly from the chemical abstract machine of Berry and Boudol [5]. To each control K 2 K corresponds a type of molecule; the main interest of action calculi is that they are an algebra of molecular forms, which provide a non-free but algebraically tractable form of syntax for modelling concurrent systems. Particular action calculi exist which are generalisations of Petri nets, and of the calculus; see [11, 12]. Thus the extension to higher order adds power to existing models of concurrency. This paper demonstrates that the algebraic treatment of action calculi, including the notion of molecular form, extends smoothly to higher-order calculi which generalise the -calculus. Sections 1–6 contain a review of action calculi, sufficient for present purposes. The first step towards higher order is taken in Section 7 by the addition of two new controls to any action calculus AC(K). These new controls are essentially the “curry” and “apply” operations of a cartesian-closed category for the typed -calculus. The reaction rules for these new controls, -reduction and -reduction, are closely related to reduction in the -calculus [1], a -calculus with explicit substitutions; so far they are treated on the same footing as the reaction rules pertaining to the originally controls K. The next step, in Section 8, is to replace -reduction by its induced congruence relation, -conversion. This leads essentially to the familiar -calculus, but enriched by the presence of K-molecules and the (possibly non-confluent) K-reaction relation. In Section 9 we first determine a condition, called stability, under which -reduction commutes with K-reaction. This justifies our final step towards an equational higherorder calculus, which is to replace -reduction by its induced congruence, -conversion. Taking the quotient by this congruence yields our higher-order action calculus which we call HAC(K). When K is a control-set suitable for the -calculus, we end up with an enriched form of Sangiorgi’s higher-order -calculus. Section 10 examines the possibility of making HAC(K) into a cartesian-closed category. If K = ; then HAC(K) is nearly the standard cartesian-closed category for typed -calculus, but not quite. To reach it, a further quotient is needed, by an extra equation representing -conversion. Indeed, we show that this quotient converts any higher-order action calculus into a cartesian-closed category; but in the case of some action calculi with non-trivial interactive dynamics, such as PIC (representing the -calculus), it is inconsistent with the dynamic behaviour.
منابع مشابه
تأثیر نوع و مقدار مایعات مصرفی بر سنگهای کلیه: مطالعه مورد-شاهدی
Background & Objectives: Urinary calculi are a common problem worldwide. The pattern of fluid consumption in healthy people and patients with renal calculi is not totally clear. The aim of this study was to determine the association between the amount of fluids intake and urinary calculi. Methods: In this case-control study, cases were the patients with urinary calculi admitted to Emam-Hosse...
متن کاملTypes and Models for Higher-Order Action Calculi
Milner introduced action calculi as a framework for representing models of interactive behaviour. He also introduced the higher-order action calculi, which add higher-order features to the basic setting. We present type theories for action calculi and higher-order action cal-culi, and give the categorical models of the higher-order calculi. As applications , we give a semantic proof of the cons...
متن کاملThe Beneficial Effect of Hydro-alcoholic Extract of Punica Granatum L. Leaves & Flower on Ethylene Glycol-Induced Kidney Calculi in Rats
Background & Aim: Punica granatum L. (pomegranate) is a widely used plant that has high nutritional value .This study evaluated prevention effect of hydro alcoholic extract of Punica granatum flower and leaves ethylene glycol-induced Nephrolithiasis in Wistar rats. Experimental: 20 male Wistar rats were randomly divided into 4 equal groups. G...
متن کاملLinear type theories, semantics and action calculi
In this thesis, we study linear type-theories and their semantics. We present a general framework for such type-theories, and prove certain decidability properties of its equality. We also present intuitionistic linear logic and Milner’s action calculi as instances of the framework, and use our results to show decidability of their respective equality judgements. Firstly, we motivate our develo...
متن کاملThe Beneficial Effect of Hydro-alcoholic Extract of Punica Granatum L. Leaves & Flower on Ethylene Glycol-Induced Kidney Calculi in Rats
Background & Aim: Punica granatum L. (pomegranate) is a widely used plant that has high nutritional value .This study evaluated prevention effect of hydro alcoholic extract of Punica granatum flower and leaves ethylene glycol-induced Nephrolithiasis in Wistar rats. Experimental: 20 male Wistar rats were randomly divided into 4 equal groups. G...
متن کامل